<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sec="https://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <meta charset="UTF-8">
    <title>UserList</title>
    <link href="/layui/css/layui.css" type="text/css" rel="stylesheet">
    <script src="/layui/layui.js"></script>
    <script src="/js/libSys/commonHeader.js" rel="script"></script>
</head>
<body>
<div th:replace="libSys/libSysCommonHeader::libSysCommonHeader"></div>
<br>
<br>
<br>
<div class="layui-container" style="width:80%">
    <table id="userList" lay-filter="test"></table>
</div>

<script type="text/html" id="tableTopBar">
    <div class="layui-form-item">
        <div class="layui-inline">
            <div class="layui-input-inline">
                <input type="text" id="userSearchInput" placeholder="搜索用户" autocomplete="off" class="layui-input">
            </div>
            <button class="layui-btn" lay-filter="" lay-event="search" >搜索</button>
        </div>
    </div>
</script>


<script type="text/html" id="roleShow">
    {{#  if(d.roleId=='1'){ }}
    User
    {{#  } else { }}
    Manager
    {{#  } }}
</script>

<script type="text/html" id="userListToolBar">
    <button class="layui-btn pwd-change-button" lay-event="editPwd">重置密码</button>
    <button class="layui-btn user-delete-button" lay-event="delete">删除</button>
    <button class="layui-btn user-edit-button" lay-event="edit">编辑</button>
    <button class="layui-btn user-edit-button" lay-event="updateAuth">更新权限</button>
</script>
<style>
    .layui-table-cell{
        height:36px;
        line-height: 36px;
    }
</style>
<script src="/js/libSys/userList.js"></script>

</body>
</html>